#import "Core.h"

@implementation BaseNavigationViewController

@synthesize rootViewController = _rootViewController;

- (id)initWithRootViewController:(PrayViewController*)rootViewController
{
	if( nil == (self = [super init]) )
	{
		return nil;
	}
	
	self.rootViewController = rootViewController;
	
	return self;
}

@end

@implementation BaseViewController

@synthesize rootViewController = _rootViewController;

- (id)initWithRootViewController:(PrayViewController*)rootViewController
{
	if( nil == (self = [super init]) )
	{
		return nil;
	}
	
	self.rootViewController = rootViewController;
	
	return self;
}

@end

@implementation BaseTableViewController

@synthesize rootViewController = _rootViewController;

- (id)initWithRootViewController:(PrayViewController *)rootViewController withStyle:(UITableViewStyle)style
{
	if( nil == (self = [super initWithStyle:style]) )
	{
		return nil;
	}
	
	self.rootViewController = rootViewController;
	
	return self;
}

@end